<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>list</title>
</head>
<body>
<!--<div th:object="${user}">-->
<!--    <span th:text="*{usrName}">姓名</span>-->
<!--</div>-->
<table border="1">
    <tr>
        <th>usrId</th>
        <th>usrName</th>
        <th>roleName</th>
        <th>index</th>
    </tr>
    <tr th:each="user,status : ${users}">
        <td th:text="${user.getUsrId()}">1</td>
        <td th:text="${user.getUsrName()}">1</td>
        <td th:text="${user.getRoleName()}">1</td>
        <td th:text="${status.index}">1</td>
    </tr>
</table>
</body>
</html>